package com.example.roadeyeserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.roadeyeserver.entity.HolidayInfo;
import com.example.roadeyeserver.entity.request.HolidayRequest;

import java.util.List;

public interface HolidayInfoService extends IService<HolidayInfo> {

    /**
     * 根据年份和类型获取节假日日期列表
     * @param request
     * @return
     */
    List<String> getHolidayByYearAndType(HolidayRequest request);

}
